<%@ include file="../common/IncludeTop.jsp"%>

<div id="Catalog">
	<spring:form action="${basepath}/account/editAccount" method="post" commandName="accountBean">

	<h3>User Information</h3>

	<table>
		<tr>
			<td>User ID:</td>
			<td>${accountBean.username}</td>
		</tr>
		<tr>
			<td>New password:</td>
			<td><spring:password path="password"/></td>
		</tr>
		<tr>
			<td>Repeat password:</td>
			<td><spring:password path="repeatedPassword"/></td>
		</tr>
	</table>
	<%@ include file="IncludeAccountFields.jsp"%>

	<input type="submit" name="editAccount" id="editAccount" value="Save Account Information" />
	</spring:form>
<a href="${basepath}/order/listOrders"
	event="listOrders">My Orders</a></div>

<%@ include file="../common/IncludeBottom.jsp"%>
